# SPDX-License-Identifier: GPL-2.0
DTS_RELATIVE_PATH := n7v3

DTS_PATH := $(srctree)/arch/$(SRCARCH)/boot/dts/lombo/n7v3
DTS_FULLNAMES := $(shell find $(DTS_PATH) -name *.dts)
DTS_BASENAMES_SUFFIX := $(foreach fpath,$(DTS_FULLNAMES), $(shell echo `basename $(fpath)`))
DTS_BASENAMES := $(foreach dts,$(DTS_BASENAMES_SUFFIX), $(shell echo $(dts) | cut -d . -f1))

LOCAL_DTBS := $(foreach item,$(DTS_BASENAMES), $(addsuffix .dtb,$(item)))
TARGET_DTBS := $(foreach dtb,$(LOCAL_DTBS), $(addprefix n7v3/,$(dtb)))

dtb-y += $(TARGET_DTBS)
